package com.huazhi.wzsnw.service;

import com.huazhi.wzsnw.model.Complaint;
import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ComplaintService {
    public Complaint selectByPrimaryKey(String tid);
    public int insert(Complaint record);
    public List<String> getComplaintList(String key, Complaint complaint);
    public int delete(Complaint record);
    public int deletes(List<Complaint> records);
    public int update(Complaint record);
    public Complaint findByTid(String tid);
//    List<String> selectComplaintList(String key, Complaint complaint);
    JSONObject getComplaintListOne(HttpServletRequest request);
    List<String> getSearchComplaintList(HttpServletRequest request);
    public List<Complaint> getListComplaintByListTid(List<String> stringList, Integer pageIndex, Integer pageSize);

}
